Jenkins – Deploy in Docker Swarm using Stack Deploy

An example deployment in Docker Swarm from Jenkins using stack deploy. Jenkinsfile: Production.yml   Staging.yml   To use Nginx as a Load Balancer, you need to add it to the namespace with the other containers. For connectivity, add the following to the “http” block in the nginx.conf configuration file: And proxy already by the names … Continue reading Jenkins – Deploy in Docker Swarm using Stack Deploy